#ifndef _TBFILEINFO_H_
#define _TBFILEINFO_H_

#include "TBSettings.h"

#include <stdlib.h>

namespace tb
{

	class TB_DLL_FUNC FileInfo
	{
	
	public:
	
		FileInfo(const char* a_FilePath, bool a_Relative = true);
		~FileInfo();

		char* GetPath() { return m_Path; }
		char* GetDir() { return m_Dir; }
		char* GetFileName() { return m_FileName; }
		char* GetExt() { return m_Ext; }
		char* GetDrive() { return m_Drive; }

	private:
	
		char m_Drive[_MAX_DRIVE];
		char m_Dir[_MAX_DIR];
		char m_FileName[_MAX_FNAME];
		char m_Ext[_MAX_EXT];
		char m_Path[_MAX_PATH];
	
	}; // class FileInfo

}; // namespace tb
	
#endif